package com.lzy.cloud.search.client.dtos;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by WIN7 on 2018/5/23.
 */
public class EsIndexDto implements Serializable{

    /**
     * 名称
     */
    String name;

    /**
     * 类型
     */
    String type;

    /**
     * id
     */
    String id;

    /**
     * ids
     */
    String[] ids;

    /**
     * map封装document
     */
    Map<String, Object> documentMap;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public Map<String, Object> getDocumentMap() {
        return documentMap;
    }

    public void setDocumentMap(Map<String, Object> documentMap) {
        this.documentMap = documentMap;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
